//---------------------------------------------------------------------------

#ifndef CScrollBoxH
#define CScrollBoxH
//---------------------------------------------------------------------------
#include <SysUtils.hpp>
#include <Controls.hpp>
#include <Classes.hpp>
#include <Forms.hpp>
#include "CtrlStd.h"
//---------------------------------------------------------------------------
class PACKAGE_CTRLSTD CScrollBox : public TScrollBox
{
private:
  bool m_bAutoReposition;
protected:
  void __fastcall AutoScrollInView(Controls::TControl* AControl);
public:
   __fastcall CScrollBox(TComponent* Owner);
__published:
  __property bool AutoReposition = { read=m_bAutoReposition, write=m_bAutoReposition, default=true };
};
//---------------------------------------------------------------------------
#endif
 